package com.nuit.cxl.mvcdemo.dao;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    private String name;
    private int age;
    private List<String> add;
    private Teacher teacher;
    @JsonFormat(pattern = "yyyy/MM/dd")
    private Date startTime;

}
